package com.yunhe.java.Day13;

/**
 * Created by Administrator on 2017/8/7 0007.
 */
public class Java {
    private String name;
    private int age;
    private String id;

    public Java(){}

    public Java(String name,int age,String id){
        this.name=name;
        this.age=age;
        this.id=id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Java{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", id='" + id + '\'' +
                '}';
    }
}
